package com.crm.service.statisticAnalysis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.model.statisticAnalysis.pojos.SellStatistics;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Mapper
public interface SellMapper extends BaseMapper<SellStatistics> {

    BigDecimal countAmount(@Param("beginTime") LocalDateTime beginTime, @Param("endTime") LocalDateTime endTime);
}
